import { ResultInfo, ResultType, ValidatorType } from '@/types';

export const resultInfos: ResultInfo = {
  api_path: '/api/test',
  log_id: '32435',
  type: ResultType.success,
};

export const resultErrorInfos: ResultInfo = {
  api_path: '/api/test',
  log_id: '32435',
  type: ResultType.error,
  target: 'request_body',
  validator_type: ValidatorType.Custom,
  // 会在上报时拍平
  error_info: {
    message: 'This is a Error!',
  },
};
